using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN QuanHuyenEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: QuanHuyenEntity</para>
	/// <para>Description: ClassQuanHuyenEntity store data of table QuanHuyen</para>
	///</summary>

	[DataContract]
	public partial class QuanHuyenEntity{


		private bool _InternalChangedIsNullQuanHuyen_ID=true;
		private bool _IsNullQuanHuyen_ID=true;
		private bool _InternalChangedIsNullTinhThanh_ID=true;
		private bool _IsNullTinhThanh_ID=true;
		private bool _InternalChangedIsNullMaQuanHuyen=true;
		private bool _IsNullMaQuanHuyen=true;
		private bool _InternalChangedIsNullTenQuanHuyen=true;
		private bool _IsNullTenQuanHuyen=true;
		private bool _InternalChangedIsNullGhiChu=true;
		private bool _IsNullGhiChu=true;
		private int _QuanHuyen_ID;
		private int _TinhThanh_ID;
		private string _MaQuanHuyen;
		private string _TenQuanHuyen;
		private string _GhiChu;
		[DataMember]
		public bool IsNullQuanHuyen_ID{
			get{return _IsNullQuanHuyen_ID;}
			set{if(!_InternalChangedIsNullQuanHuyen_ID)_IsNullQuanHuyen_ID=value;}
		}
		[DataMember]
		public bool IsNullTinhThanh_ID{
			get{return _IsNullTinhThanh_ID;}
			set{if(!_InternalChangedIsNullTinhThanh_ID)_IsNullTinhThanh_ID=value;}
		}
		[DataMember]
		public bool IsNullMaQuanHuyen{
			get{return _IsNullMaQuanHuyen;}
			set{if(!_InternalChangedIsNullMaQuanHuyen)_IsNullMaQuanHuyen=value;}
		}
		[DataMember]
		public bool IsNullTenQuanHuyen{
			get{return _IsNullTenQuanHuyen;}
			set{if(!_InternalChangedIsNullTenQuanHuyen)_IsNullTenQuanHuyen=value;}
		}
		[DataMember]
		public bool IsNullGhiChu{
			get{return _IsNullGhiChu;}
			set{if(!_InternalChangedIsNullGhiChu)_IsNullGhiChu=value;}
		}
		[DataMember]
		public int QuanHuyen_ID{
			get{return _QuanHuyen_ID;}
			set{
				_QuanHuyen_ID=value;
				if(_QuanHuyen_ID!=null){
					_IsNullQuanHuyen_ID=false;
					_InternalChangedIsNullQuanHuyen_ID=true;
				}
			}
		}
		[DataMember]
		public int TinhThanh_ID{
			get{return _TinhThanh_ID;}
			set{
				_TinhThanh_ID=value;
				if(_TinhThanh_ID!=null){
					_IsNullTinhThanh_ID=false;
					_InternalChangedIsNullTinhThanh_ID=true;
				}
			}
		}
		[DataMember]
		public string MaQuanHuyen{
			get{return _MaQuanHuyen;}
			set{
				_MaQuanHuyen=value;
				if(_MaQuanHuyen!=null){
					_IsNullMaQuanHuyen=false;
					_InternalChangedIsNullMaQuanHuyen=true;
				}
			}
		}
		[DataMember]
		public string TenQuanHuyen{
			get{return _TenQuanHuyen;}
			set{
				_TenQuanHuyen=value;
				if(_TenQuanHuyen!=null){
					_IsNullTenQuanHuyen=false;
					_InternalChangedIsNullTenQuanHuyen=true;
				}
			}
		}
		[DataMember]
		public string GhiChu{
			get{return _GhiChu;}
			set{
				_GhiChu=value;
				if(_GhiChu!=null){
					_IsNullGhiChu=false;
					_InternalChangedIsNullGhiChu=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END QuanHuyenEntityBase*****************************************/
	/*****************************************************************************************************/
}

